#define _CRT_SECURE_NO_WARNINGS 1
#include"List.h"

void test()
{
	LTNode* plist = Buy_node(-1);
	//LTPrint(plist);

	for (int i = 1; i < 11; i++)
		LTPushBack(plist, i);
		//LTPushFront(plist, i);
	LTPrint(plist);

	/*for (int i = 0; i < 5; i++)
		LTPopFront(plist);
	LTPrint(plist);*/

	//LTNode* re_pos =  LTFine(plist, 10);
	//LTInsertAfter(re_pos, 255);
	//LTEraseAfter(re_pos);

	LTDestroy(plist);

	//LTPrint(plist);
}

int main()
{ 
	test();
	return 0;
}